-
Hello! I am using STM32F103C8 (Bluepill) + OLED SH1106_128X64 with the U8g2 library. I convert an image into a byte array using image2cpp (XBM Format, Little Endian, Horizontal Scan). 🔹 Issue: When I display the image using u8g2.drawBitmap(), it appears correctly. I manually verified the byte array – it is correct. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I would also like to highlight that your library is truly impressive. I recently started using it and greatly appreciate its high-quality code and well-designed architecture. P.S. I am currently using version 2.32.15. |
Beta Was this translation helpful? Give feedback.
-
I did my tests with "GIMP" to produce the xbm file. This did work as expected. |
Beta Was this translation helpful? Give feedback.
drawXBM really differs from drawBitmap. They do use a different format. XBM actually is a kind of an official file format: https://de.wikipedia.org/wiki/X_BitMap
Many drawing tools (like GIMP) are able to export as XBM.